github.com/gotd/td/telegram.Client.selfID (field)
7 uses
github.com/gotd/td/telegram (current package)
client.go#L179: selfID atomic.Int64
logout.go#L113: c.selfID.Store(0)
session.go#L69: c.selfID.Store(data.UserID)
session.go#L261: id = c.selfID.Load()
session.go#L270: if c.selfID.Load() == u.ID && c.selfBot.Load() == u.Bot {
session.go#L273: c.selfID.Store(u.ID)
session.go#L324: if id := c.selfID.Load(); id != 0 {
![]() |
The pages are generated with Golds v0.8.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |